/*
 * @Descripttion:
 * @LastEditors: xzh
 * @LastEditTime: 2023-10-10 19:50:02
 */
import { btnTypeEnum, tableTool_Inf } from "@/components/dile-table/index.type";
/*
 * @Descripttion:异常管理权限常量
 * @LastEditors: xzh
 * @LastEditTime: 2023-09-12 20:10:11
 */
export default class AbnormalManagePower_Constants {
  /**
   * @Author: xzh
   * @Descripttion: 异常规则设定工具栏
   * @Param:
   */
  static abnormalRuleSetTools: Array<tableTool_Inf> = [
    {
      // t("table.btnArr.search"),
      label: "table.btnArr.search",
      code: "keyWordFilter",
      btnType: btnTypeEnum.keyWordFilter,
      position: "right",
    },
  ];
  /**
   * @Author: xzh
   * @Descripttion: 产品品质异常工具栏
   * @Param:
   */
  static productQualityAbnormalTools: Array<tableTool_Inf> = [
    {
      // t("table.btnArr.add"),
      label: "table.btnArr.add",
      code: "add",
      btnType: btnTypeEnum.button,
      plain: false,
      customBehavior: true,
    },
    {
      // t("table.btnArr.edit"),
      label: "table.btnArr.edit",
      code: "edit",
      btnType: btnTypeEnum.button,
      customBehavior: true,
    },
    {
      // t("table.btnArr.delete"),
      label: "table.btnArr.delete",
      code: "delete",
      btnType: btnTypeEnum.button,
      customBehavior: true,
    },
    {
      // t("table.btnArr.import"),
      label: "table.btnArr.import",
      code: "import",
      btnType: btnTypeEnum.button,
      customBehavior: true,
    },
    {
      // t("table.btnArr.search"),
      label: "table.btnArr.search",
      code: "keyWordFilter",
      btnType: btnTypeEnum.keyWordFilter,
      position: "right",
    },
  ];
  /**
   * @Author: xzh
   * @Descripttion: 模具异常工具栏
   * @Param:
   */
  static moldAbnormalTools: Array<tableTool_Inf> = [
    {
      // t("table.btnArr.search"),
      label: "table.btnArr.search",
      code: "keyWordFilter",
      btnType: btnTypeEnum.keyWordFilter,
      position: "right",
    },
  ];
  /**
   * @Author: xzh
   * @Descripttion: 设备异常工具栏
   * @Param:
   */
  static equipAbnormalTools: Array<tableTool_Inf> = [
    {
      // t("table.btnArr.search"),
      label: "table.btnArr.search",
      code: "keyWordFilter",
      btnType: btnTypeEnum.keyWordFilter,
      position: "right",
    },
  ];
  /**
   * @Author: xzh
   * @Descripttion: 产出量异常工具栏
   * @Param:
   */
  static outputAbnormalTools: Array<tableTool_Inf> = [
    {
      // t("table.btnArr.search"),
      label: "table.btnArr.search",
      code: "keyWordFilter",
      btnType: btnTypeEnum.keyWordFilter,
      position: "right",
    },
  ];
}
